home *** CD-ROM | disk | FTP | other *** search
Makefile | 1999-08-18 | 893 b | 30 lines |
-
- # Generates localized HelloWorld
- # Marcin Orlowski
-
- LLIBS = lib:sc.lib
- LFLAGS = NOICONS BATCH
-
- MAIN = HelloWorld
- CATALOG = HelloWorld_str.h
-
- ALL: $(CATALOG) $(MAIN)
-
- # if #?.cd file is newer than #?_str.h file, we need
- # to rebuild it. We are using special source descriptor
- # that supports auto open/close of libraries/catalogs.
- # Please take a look at the Lib/ subrawer in the main
- # FlexCat archive for other C source descriptors
- # (e.g. when you use more than 1 catalog in your app
- # you may wish to see CatComp.sd etc).
- HelloWorld_str.h: HelloWorld.cd
- @FlexCat $*.cd $*_strings.c=AutoC_c.sd
- @FlexCat $*.cd $*_strings.h=AutoC_h.sd
-
- # let's make the market-killer app ;-)
- HelloWorld: HelloWorld.c $(CATALOG)
- @sc $*.c OBJNAME $*.o
- @sc HelloWorld_strings.c OBJNAME HelloWorld_strings.o
- @slink TO $@ FROM lib:c.o HelloWorld_strings.o \
- $*.o LIB $(LLIBS) $(LFLAGS)
-